
    public class Womens implements Runnable{
        private Bank bank = new Bank();

        public void run() {
            int m = 10;
            int i=0;
            //bank.getMoney()>0
            while (i<5) {
                bank.drawMoney(m);
                try {
                    Thread.sleep(10);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                i++;
            }
        }

    }

